package other.getech.oa.model;

/**
 * 需求:审批历史
 */
public class FlowHistory {
    private Long assigneeId;//处理人ID
    private String attachments;//附件
    private Integer cancelledFlag;//任务是否已作废 1:是,2:否
    private String cancelledReason;//作废原因
    private Long createdAt;//创建时间
    private Long createdBy;//创建人
    private Long endAt;//结束时间
    private Long id;//任务 ID
    private Long initiateLogId;//发起新任务的流水 ID
    private Integer logType;//1:流水类型提交任务,2:普通审批任务,3:加签审批任务,4:转办审批任务,5:委托审批任务,99:其它非任务流水
    private String operateTargetUsers;//操作的目标用户ID，多个ID使用半角逗号分隔。例如加签操作，这里将记录被加签人
    private Integer operateType;//1:提交,2:完成,3:退回,4:撤回,5:挂起,6:解除挂起,7:终止,8:跳转,9:转办
    private String opinion;//办理意见
    private Long procInstId;//流程实例ID
    private Integer status;//1:待提交,2:待重新提交,3:待提交到退回节点,4:已提交,5:待办理,6:已同意,7:已拒绝,8:已转办,9:已抄送,10:加签挂起,11:任务挂起,12:已收回,13:已移交,14:已委托,99:无需办理
    private Long usertaskInstId;//节点实例ID
    private Integer usertaskInstStatus;//1:办理中,2:已完成,3:退回提交节点,4:已撤回,5:流程挂起,6:退回非提交节点,7:已收回,8:流程中止,9:已跳转

    public Long getAssigneeId() {
        return assigneeId;
    }

    public void setAssigneeId(Long assigneeId) {
        this.assigneeId = assigneeId;
    }

    public String getAttachments() {
        return attachments;
    }

    public void setAttachments(String attachments) {
        this.attachments = attachments;
    }

    public Integer getCancelledFlag() {
        return cancelledFlag;
    }

    public void setCancelledFlag(Integer cancelledFlag) {
        this.cancelledFlag = cancelledFlag;
    }

    public String getCancelledReason() {
        return cancelledReason;
    }

    public void setCancelledReason(String cancelledReason) {
        this.cancelledReason = cancelledReason;
    }

    public Long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Long createdAt) {
        this.createdAt = createdAt;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Long getEndAt() {
        return endAt;
    }

    public void setEndAt(Long endAt) {
        this.endAt = endAt;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getInitiateLogId() {
        return initiateLogId;
    }

    public void setInitiateLogId(Long initiateLogId) {
        this.initiateLogId = initiateLogId;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getOperateTargetUsers() {
        return operateTargetUsers;
    }

    public void setOperateTargetUsers(String operateTargetUsers) {
        this.operateTargetUsers = operateTargetUsers;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Long getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(Long procInstId) {
        this.procInstId = procInstId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getUsertaskInstId() {
        return usertaskInstId;
    }

    public void setUsertaskInstId(Long usertaskInstId) {
        this.usertaskInstId = usertaskInstId;
    }

    public Integer getUsertaskInstStatus() {
        return usertaskInstStatus;
    }

    public void setUsertaskInstStatus(Integer usertaskInstStatus) {
        this.usertaskInstStatus = usertaskInstStatus;
    }
}
